/**
 * 
 */
package com.university.trade.service.impl;

import javax.annotation.Resource;

import com.university.trade.dao.OrderInfoMapper;
import com.university.trade.entity.OrderInfo;
import com.university.trade.service.OrderInfoService;

/**
 * @author Administrator
 *
 */
public class OrderInfoServiceImpl implements OrderInfoService {
	@Resource
	private OrderInfoMapper orderInfoMapper;
	
	@Override
	public int deleteByPrimaryKey(String orderId) {
		return this.orderInfoMapper.deleteByPrimaryKey(orderId);
	}

	@Override
	public int insert(OrderInfo record) {
		return this.orderInfoMapper.insert(record);
	}

	@Override
	public int insertSelective(OrderInfo record) {
		return this.orderInfoMapper.insertSelective(record);
	}

	@Override
	public OrderInfo selectByPrimaryKey(String orderId) {
		return this.orderInfoMapper.selectByPrimaryKey(orderId);
	}

	@Override
	public int updateByPrimaryKeySelective(OrderInfo record) {
		return this.orderInfoMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(OrderInfo record) {
		return this.orderInfoMapper.updateByPrimaryKey(record);
	}

}
